package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.dto.OmcLifeActionOldmanDto;
import com.csun.cmny.provider.dto.OmcLifeOldmanQueryDto;
import com.csun.cmny.provider.model.domain.OmcLifeActionOldman;
import com.github.pagehelper.PageInfo;

/**
 * @author Lijun
 * @description:
 * @date 2019/12/31 9:54
 */
public interface OmcLifeActionOldmanService extends IService<OmcLifeActionOldman> {

    /**
     * 添加入居者
     */
    Integer addLifeOldman(OmcLifeActionOldmanDto omcLifeActionOldmanDto, LoginAuthDto loginAuthDto);
    /**
     * 删除入居者
     */
    Integer deleteById(Long oldmanId);
    /**
     * 查询入居者
     */
    PageInfo queryLifeOldmanWithPage(OmcLifeOldmanQueryDto omcLifeOldmanQueryDto);
    /**
     * 修改入居者
     */
    Integer updateById(OmcLifeActionOldmanDto omcLifeActionOldmanDto,LoginAuthDto loginAuthDto);
}
